package main

import "fmt"

var (
	givenName, surName, s string
	i                     int
	f                     float32
	input                 = "56.23 / 5326 / go"
	format                = "%f / %d / %s"
)

func main() {
	fmt.Println("Please enter your name: ")
	// fmt.Scanln(&surName, &givenName)
	fmt.Scanf("%s %s", &surName, &givenName)
	fmt.Printf("Hi %s %s!\n", surName, givenName)
	fmt.Sscanf(input, format, &f, &i, &s)
	fmt.Println("From the string we read: ", f, i, s)
}
